package com.dingtao.common.bean;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.List;

import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class RecommendMember {


    @JSONField(name = "total")
    private int total;
    @JSONField(name = "size")
    private int size;
    @JSONField(name = "current")
    private int current;
    @JSONField(name = "pages")
    private int pages;
    @JSONField(name = "records")
    private List<RecordsDTO> records;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getCurrent() {
        return current;
    }

    public void setCurrent(int current) {
        this.current = current;
    }

    public int getPages() {
        return pages;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public List<RecordsDTO> getRecords() {
        return records;
    }

    public void setRecords(List<RecordsDTO> records) {
        this.records = records;
    }

    @NoArgsConstructor
    @Data
    public static class RecordsDTO {
        @JSONField(name = "publishOrderId")
        private String publishOrderId;
        @JSONField(name = "price")
        private String price;
        @JSONField(name = "category")
        private String category;
        @JSONField(name = "imgUrl")
        private String imgUrl;
        @JSONField(name = "unit")
        private String unit;
        @JSONField(name = "otherDesc")
        private String otherDesc;
        @JSONField(name = "online")
        private String online;
        @JSONField(name = "area")
        private String area;
        @JSONField(name = "nickname")
        private String nickname;
        @JSONField(name = "lastVisitTime")
        private List<Integer> lastVisitTime;
        @JSONField(name = "mid")
        private String mid;
        @JSONField(name = "vip")
        private boolean vip;

        public String getPublishOrderId() {
            return publishOrderId;
        }

        public void setPublishOrderId(String publishOrderId) {
            this.publishOrderId = publishOrderId;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getCategory() {
            return category;
        }

        public void setCategory(String category) {
            this.category = category;
        }

        public String getImgUrl() {
            return imgUrl;
        }

        public void setImgUrl(String imgUrl) {
            this.imgUrl = imgUrl;
        }

        public String getUnit() {
            return unit;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }

        public String getOtherDesc() {
            return otherDesc;
        }

        public void setOtherDesc(String otherDesc) {
            this.otherDesc = otherDesc;
        }

        public String getOnline() {
            return online;
        }

        public void setOnline(String online) {
            this.online = online;
        }

        public String getArea() {
            return area;
        }

        public void setArea(String area) {
            this.area = area;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public List<Integer> getLastVisitTime() {
            return lastVisitTime;
        }

        public void setLastVisitTime(List<Integer> lastVisitTime) {
            this.lastVisitTime = lastVisitTime;
        }

        public String getMid() {
            return mid;
        }

        public void setMid(String mid) {
            this.mid = mid;
        }

        public boolean isVip() {
            return vip;
        }

        public void setVip(boolean vip) {
            this.vip = vip;
        }
    }
}
